package com.cazor.dg.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cazor.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cazor.common.core.domain.BaseEntity;

/**
 * 监测内容类型数据读取配置对象 dg_config_content_type
 *
 * @author cazor
 * @date 2023-11-27
 */
@TableName("dg_config_content_type")
public class DgConfigContentType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 流水号 */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 监测内容类型 */
    @Excel(name = "监测内容类型")
    private String contentType;

    /** 监测内容类型值 */
    @Excel(name = "监测内容类型值")
    private String contentTypeValue;

    /** 参数单位 */
    @Excel(name = "参数单位")
    private String paramUnit;

    /** 传感器参数例子 */
    @Excel(name = "传感器参数例子")
    private String paramDemo;

    /** 参数关键字 */
    @Excel(name = "参数关键字")
    private String paramKeys;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String valid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setContentType(String contentType)
    {
        this.contentType = contentType;
    }

    public String getContentType()
    {
        return contentType;
    }
    public void setContentTypeValue(String contentTypeValue)
    {
        this.contentTypeValue = contentTypeValue;
    }

    public String getContentTypeValue()
    {
        return contentTypeValue;
    }
    public void setParamUnit(String paramUnit)
    {
        this.paramUnit = paramUnit;
    }

    public String getParamUnit()
    {
        return paramUnit;
    }
    public void setParamDemo(String paramDemo)
    {
        this.paramDemo = paramDemo;
    }

    public String getParamDemo()
    {
        return paramDemo;
    }
    public void setParamKeys(String paramKeys)
    {
        this.paramKeys = paramKeys;
    }

    public String getParamKeys()
    {
        return paramKeys;
    }
    public void setType(Integer type)
    {
        this.type = type;
    }

    public Integer getType()
    {
        return type;
    }
    public void setValid(String valid)
    {
        this.valid = valid;
    }

    public String getValid()
    {
        return valid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("contentType", getContentType())
                .append("contentTypeValue", getContentTypeValue())
                .append("paramUnit", getParamUnit())
                .append("paramDemo", getParamDemo())
                .append("paramKeys", getParamKeys())
                .append("type", getType())
                .append("valid", getValid())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
